<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>域名管理</title>
		<style>
			body, table, th, td, input {
				font-size: 11px;
				font-family: "Microsoft Yahei";
			}
		</style>
	</head>
	<body>
		<table cellpadding='0' cellspacing='0' style='font-size:12px;'>
		<form action="/domain/del" method="post">
			<tr>
				<th height="20" align="left" style="width: 30px; border-bottom: 1px solid #CCC;">选定</td>
				<th align="left" style="width: 30px; border-bottom: 1px solid #CCC;">通过</td>
				<th align="left" style="width: 30px; border-bottom: 1px solid #CCC;">删除</td>
				<th align="left" style="width: 30px; border-bottom: 1px solid #CCC;">通过</td>
				<th align="left" style="width: 30px; border-bottom: 1px solid #CCC;">失效</td>
				<th align="left" style="width: 80px; border-bottom: 1px solid #CCC;">名称</td>
				<th align="left" style="width: 30px; border-bottom: 1px solid #CCC;">域名</td>
			</tr>
			<?php
			foreach($list as $domain):
			?>
			<tr>
				<td height="20" style="border-bottom:1px solid #CCC;"><input type="checkbox" name="domain[]" value="<?php echo $domain['name']; ?>" checked /></td>
				<td style="border-bottom:1px solid #CCC;"><a href="/domain/well/domain-<?php echo $domain['name']; ?>">OK</a></td>
				<td style="border-bottom:1px solid #CCC;"><a href="/domain/del/domain-<?php echo $domain['name']; ?>">DIE</a></td>
				<td style="border-bottom:1px solid #CCC;"><?php echo $domain['well']==1?'+':'X' ?></td>
				<td style="border-bottom:1px solid #CCC;"><?php echo $domain['live']==1?'+':'X' ?></td>
				<td style="border-bottom:1px solid #CCC;"><?php echo $domain['name'] ?></td>
				<td style="border-bottom:1px solid #CCC;">www.<?php echo $domain['name'] ?>.com</td>
			</tr>
			<?php
			endforeach;
			?>
			<tr>
				<td><input type="submit" value="删除" /></td>
				<td colspan="6">&nbsp;</td>
			</tr>
		</form>
		</table>
	</body>
</html>